Total Complexity | 13 |
Dependencies | 4 |
Dependents | 1 |
Total lines | 91 |
Lines of code | 67 |
Logical lines of code | 34 |
Comment lines | 9 |
Methods | 6 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
filter_purchase_unit() | 51 | 5 | 24 | |
from_order() | 58 | 2 | 16 | |
from_cart() | 61 | 2 | 13 | |
generate_invoice_id() | 69 | 2 | 7 | |
__construct() | 76 | 1 | 4 | |
get_description_from_order() | 76 | 1 | 3 |